package com.gjzhao.fmmall.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * SpringBoot默认继承了logback日志框架，即带有slf4j规范与其实现logback框架
 * @Description: 基类 Controller
 * @Author: gjzhao
 * @Date Created in 2021-12-31 10:05 下午
 */
@Component
public class BaseController {

    /** 日志打印 */
    protected Logger logger = LoggerFactory.getLogger(getClass());

}
